﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    public class Employee
    {
        /// <summary>
        /// 员工号
        /// </summary> 
        public string EmployeeCode { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmployeeName { get; set; }

        /// <summary>
        /// 雇员组
        /// </summary>
        public string Groups { get; set; }

        // /// <summary>
        // /// 成本中心
        // /// </summary>
        // public CostCenter CostCenter { get; set; }

        /// <summary>
        /// 成本中心编码
        /// </summary>
        public string CostCenterCode { get; set; }

        /// <summary>
        /// 成本中心描述
        /// </summary>
        public string CostCenterDescription { get; set; }

        /// <summary>
        /// 公司代码
        /// </summary>
        public string CompanyCode { get; set; }

        // /// <summary>
        // /// 公司
        // /// </summary>
        // [ForeignKey("CompanyCode")]
        // public Company Company { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 开户行国家
        /// </summary>
        public string StateBank { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
        public string OpeningBank { get; set; }

        /// <summary>
        /// 开户行名称
        /// </summary>
        public string OpeningBankName { get; set; }

        /// <summary>
        /// 开户行账号
        /// </summary>
        public string BankAccount { get; set; }

        /// <summary>
        /// 银行参考
        /// </summary>
        public string BankRef { get; set; }

        /// <summary>
        /// Email
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 差旅成本中心
        /// </summary>
        public string TravelCostCenter { get; set; }

        /// <summary>
        /// 差旅公司代码
        /// </summary>
        public string TravelCompanyCode { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// 职位说明
        /// </summary>
        public string PositionDescription { get; set; }

        /// <summary>
        /// 职位编码
        /// </summary>
        public string PositionNumber { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        public string PositionName { get; set; }

        /// <summary>
        /// 工作城市
        /// ***此字段由后台定时任务从Hana中同步更新***
        /// modify by tianye 2020-05-25
        /// </summary>
        public string WorkCity { get; set; }

        /// <summary>
        /// 数据行状态, I: 新增, U: 修改, D: 删除
        /// </summary>
        public string DataStatus { get; set; }

        /// <summary>
        /// 有效期起始日期
        /// </summary>
        public DateTime ValidBeginDate { get; set; }

        /// <summary>
        /// 手机号码 
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 固定电话 座机
        /// </summary>
        public string FixTelephone { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 直属领导工号
        /// </summary>
        public string LeaderCode { get; set; }

        /// <summary>
        /// 直属领导姓名
        /// </summary>
        public string LeaderName { get; set; }

        /// <summary>
        /// 有效期结束日期
        /// </summary>
        public DateTime ValidEndDate { get; set; }

        public DateTime CreationTime { get; set; }
        // public DateTime? DeletionTime { get; set; }
        public bool IsDeleted { get; set; }
        public DateTime? LastModificationTime { get; set; }
    }
}
